//
//  UIViewController+Alipay.h
//  CarJX
//
//  Created by jxcl on 14-9-25.
//  Copyright (c) 2014年 KK. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^CompletionBlock)(NSDictionary *resultDic);

@interface Product : NSObject{
    @private
    float     _price;
    NSString *_subject;
    NSString *_body;
    NSString *_orderId;
}

@property (nonatomic, assign)float price;
@property (nonatomic, copy) NSString *subject;
@property (nonatomic, copy) NSString *body;
@property (nonatomic, copy) NSString *orderId;

- (NSString*)description;
@end
    

@interface UIViewController (Alipay)
-(void)CreateOrderInfo:(Product *)product tradeNo:(NSString *)tradeNo callback:(CompletionBlock)completionBlock;
@end
